<?php
$this->pageTitle = Yii::t('view', 'Pelaporan');
$this->breadcrumbs=array(
	Yii::t('view', 'Pelaporan') => array('admin'),
);
?>
<div class="add-new-form">
    <?php
    echo CHtml::link("<i class='fa fa-plus'></i> " . Yii::t('view', 'Tambah Data'), array('create'), array('class' => 'btn btn-info'));
    ?>
</div>
<?php $this->widget('booster.widgets.TbGridView',array(
    'id'=>Yii::app()->controller->id.'-grid',
    'type' => 'striped bordered condensed',
    'dataProvider' => $model->search(),
    'filter' => $model,
    'responsiveTable' => true,
    'columns' => array(
            array(
                        'name' => 'nama',
                        'value' => '($data->nama) ? $data->nama : "-"',
                ),array(
                        'name' => 'keterangan',
                        'value' => '($data->keterangan) ? $data->keterangan : "-"',
                ),array(
                        'htmlOptions' => array('nowrap'=>'nowrap','class'=>'button-column'),
                        'class'=>'booster.widgets.TbButtonColumn'
                ),
            ),
)); 
?>
<div style="display: none;" tabindex="-1" class="modal fade" id="myModal"></div>